package at.fhooe.mcm12.java.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtils {

	public static String getCurrentTimeStamp(long _millisecondsSince1970) {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
	    Date now = new Date();
	    now.setTime(_millisecondsSince1970);
	    String strDate = sdf.format(now);
	    return strDate;
	}
}
